<include file="Public:header" />
<script>
	function quyu(n){
		//document.getElementById("quyu_"+n).style.backgroundColor="#656565";
		
		var zongjias = document.getElementById("zongjias").value;
		var subways = document.getElementById("subways").value;
		var types = document.getElementById("types").value;
		var rents = document.getElementById("rents").value;
		$.ajax({
			async:false,
			type:"POST",
			url:"__APP__/Office/index",
			data:"areas="+n+"&zongjias="+zongjias+"&subways="+subways+"&types="+types+"&rents="+rents,
			success:function(msg){
				$("#lists").html(msg);
			}
		});
	}

	function zongjia(n){
		var areas = document.getElementById("areas").value;
		var subways = document.getElementById("subways").value;
		var types = document.getElementById("types").value;
		var rents = document.getElementById("rents").value;

		$.ajax({
			async:false,
			type:"POST",
			url:"__APP__/Office/index",
			data:"zongjias="+n+"&areas="+areas+"&subways="+subways+"&types="+types+"&rents="+rents,
			success:function(msg){
				$("#lists").html(msg);
			}
		});
	}

	function subway(n){
		
		var zongjias = document.getElementById("zongjias").value;
		var areas = document.getElementById("areas").value;
		var types = document.getElementById("types").value;
		var rents = document.getElementById("rents").value;

		$.ajax({
			async:false,
			type:"POST",
			url:"__APP__/Office/index",
			data:"subways="+n+"&areas="+areas+"&zongjias="+zongjias+"&types="+types+"&rents="+rents,
			success:function(msg){		
				$("#lists").html(msg);
			}
		});
	
	}

	function types(n){
		var zongjias = document.getElementById("zongjias").value;
		var areas = document.getElementById("areas").value;
		var rents = document.getElementById("rents").value;
		var subways = document.getElementById("subways").value;

		$.ajax({
			async:false,
			type:"POST",
			url:"__APP__/Office/index",
			data:"types="+n+"&areas="+areas+"&zongjias="+zongjias+"&subways="+subways+"&rents="+rents,
			success:function(msg){			
				$("#lists").html(msg);
			}
		});
	
	}
	
	function rent(n){
		var zongjias = document.getElementById("zongjias").value;
		var areas = document.getElementById("areas").value;
		var subways = document.getElementById("subways").value;
		var types = document.getElementById("types").value;

		$.ajax({
			async:false,
			type:"POST",
			url:"__APP__/Office/index",
			data:"rents="+n+"&areas="+areas+"&zongjias="+zongjias+"&subways="+subways+"&types="+types,
			success:function(msg){			
				$("#lists").html(msg);
			}
		});
	
	}
	
</script>
<!--搜索开始-->

<div class="searchmokuai">
  <div class="dangqianweizhi"> <strong>当前位置：</strong> 首页 > 写字楼</div>
  <div class="chazhaotiaojian bordera">
    <div class="chazhaotitle">查找条件</div>
    <div class="heightsearch">
      <div class="heightsearch1">
        <div class="heightsearch1left">【区域】:</div>
        <div class="heightsearch1right"><a href="#" class="curr">不限</a>
          <volist name="area" id="vo"><span id="quyu_<{$vo.a_id}>"><a href="#" onclick="quyu(<{$vo.a_id}>)"><{$vo.a_name}></a></span></volist>
        </div>
        <div class="clear"></div>
      </div>
      <div class="heightsearch1">
        <div class="heightsearch1left">【总价】:</div>
        <div class="heightsearch1right"><a href="#" class="curr">不限</a> <a href="#" onclick="zongjia('0-100')">100万以下</a> <a href="#" onclick="zongjia('100-200')">100-200万</a> <a href="#" onclick="zongjia('200-300')"> 200-300万</a> <a href="#" onclick="zongjia('300-500')"> 300-500万</a> <a href="#" onclick="zongjia('500-800')"> 500-800万</a> <a href="#" onclick="zongjia('800-1000')"> 800-1000万</a><a href="#" onclick="zongjia('100-100000000')"> 1000万以</a></div>
        <div class="clear"></div>
      </div>
      <div class="heightsearch1">
        <div class="heightsearch1left">【地铁线】:</div>
        <div class="heightsearch1right"><a href="#" class="curr">不限</a> <a href="#" onclick="subway(1)">1号线</a><a  href="#" onclick="subway(2)">2号线</a><a  href="#" onclick="subway(4)">4号线</a><a href="#" onclick="subway(5)">5号线</a><a  href="#" onclick="subway(8)">8号线</a><a  href="#" onclick="subway(9)">9号线</a><a  href="#" onclick="subway(10)">10号线</a><a  href="#" onclick="subway(13)">13号线</a><a  href="#" onclick="subway(15)">15号线</a><a  href="#" onclick="subway(batong)">八通线</a> <a href="#" onclick="subway(fangshan)">房山线</a> <a href="#" onclick="subway(changpin)">昌平线</a> <a href="#" onclick="subway(daxing)">大兴线</a> <a href="#" onclick="subway(yizhuang)">亦庄</a> <a href="#" onclick="subway(jichang)">机场快轨</a> </div>
        <div class="clear"></div>
      </div>
      <div class="heightsearch1">
        <div class="heightsearch1left">【类型】:</div>
        <div class="heightsearch1right"><a href="#" class="curr">不限</a>
          <volist name="type" id="vo"><a href="#" onclick="types(<{$vo.t_id}>)"><{$vo.t_name}></a></volist>
        </div>
        <div class="clear"></div>
      </div>
      <div class="heightsearch1">
        <div class="heightsearch1left">【租赁方式】:</div>
        <div class="heightsearch1right"><a href="#" class="curr">不限</a>
          <volist name="rent" id="vo"><a href="#" onclick="rent(<{$vo.r_id}>)"><{$vo.r_name}></a></volist>
        </div>
        <div class="clear"></div>
      </div>
    </div>
  </div>
</div>
<!--搜索结束--> 
<!--正文开始-->
<div class="bieshuzhenwen">
<div class="bieshuzhenwenleft bordera" id="lists">
  <input type="hidden" name="areas" id="areas" value="<{$areas}>">
  <input type="hidden" name="zongjias" id="zongjias" value="<{$zongjias}>">
  <input type="hidden" name="subways" id="subways" value="<{$subway}>">
  <input type="hidden" name="types" id="types" value="<{$types}>">
  <input type="hidden" name="rents" id="rents" value="<{$xrents}>">
  <div class="bs_tools">
    <ul>
      <li>共有<span class="xiaohongzi"><{$count}></span>条信息满足搜索结果 这是第<span class="xiaohongzi"><{$start}>-<{$end}></span>条</li>
      <li style="float:right;">
        <input type="submit" name="Submit" value="默认" class="subbutton1" />
        <input type="submit" name="Submit2" value="租金" class="subbutton1" />
        <input type="submit" name="Submit2" value="售价" class="subbutton1" />
        <input type="submit" name="Submit2" value="面积" class="subbutton1" />
      </li>
    </ul>
  </div>
  <div class="clr"></div>
  <div class="bszzzy">
    <volist name="xiezilou" id="vo">
      <div class="xiezilouzushou zongmargin xutiaokuang">
        <div class="left bordera"> <a href="__APP__/Officelist/index/?x_id=<{$vo.x_id}>"><img src="__PUBLIC__/Upload/<{$vo.x_img}>" width="122" height="94" border="0" style="padding:2px;" /></a> </div>
        <div class="tiaolist"><strong class="xiaohongzi"> <a href="__APP__/Officelist/index/?x_id=<{$vo.x_id}>"><{$vo.x_name}></a></strong><br />
          <span>面积：<{$vo.x_build_area}>平米<br/>
          项目位置：<{$vo.x_location}><br>
          开发商：<{$vo.x_developers}></span></div>
        <div class="zujin_money">售价：<span class="dahongzi"><strong><{$vo.x_sell}>/平方米</strong></span><br>
          租金：<{$vo.x_m_rent}>元/月</div>
      </div>
    </volist>
    <div class="fenye_tools">
      <ul>
        <a href="#"><{$page}></a>
      </ul>
    </div>
  </div>
</div>
<include file="Public:right" /> 
<!--正文结束--> 
<!--广告位-->
<div class="clr"></div>
<div class="adqun">
  <div class="ad2"><img src="__PUBLIC__/Index/images/bieshu_47.jpg" width="1002" height="37" /></div>
  <div><img src="__PUBLIC__/Index/images/bieshu_49.jpg" width="1002" height="80" /></div>
</div>
<include file="Public:foot" /> 